home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9713 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.smartlink.net!usenet
  2. From: The Nameless One <hopkins@smartlink.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: How to copy from DPMI-32 to DOS Ram?
  5. Date: 4 Mar 1996 01:03:35 GMT
  6. Organization: SmartLink.net Premier ISP 805-294-1273
  7. Message-ID: <4hdfh7$bhp@frodo.smartlink.net>
  8. NNTP-Posting-Host: pm151-53.smartlink.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  13.  
  14.  
  15.     I wrote a Sprite & Graphics Library, and everything works fine in 
  16. standard DOS mode...  But when I compile it as a 32bit DPMI file it gives 
  17. me a GP Fault error and says that my program does not own address A00000!
  18.  
  19.     I need to know how to tell the DPMI host that I own the DOS Video Ram 
  20. (64k at A000:0000), or just how to copy from a 64k buffer above one meg 
  21. into the Video Ram at A00000 (below 1meg).
  22.  
  23.     BTW, I am using Borland PowerPak for DOS and Borland C++ 4.52.  
  24. Borland's routines don't work -- the one gives you an array and runs 
  25. SLOWER than its standard DOS counterpart, the other which is SUPPOSED to 
  26. give you a pointer does not compile!!!  It runs TASM32 and comes back with 
  27. an "Unknown Assembly Instruction" error.  Typical Borland Half-Assed-ness!
  28.  
  29. Please EMail your response to  hopkins@smartlink.net  because I only check 
  30. NewsGroups once or twice a month and this group seems pretty popular.  
  31. Thanks!
  32.  
  33.  
  34.  
  35.  
  36.